<template>
	<view class="body">
		<image :src="$IMG_URL('/static/newVersion/sure.png')" mode="" class="img"></image>
		<view class="size1">
			支付成功
		</view>
		<view class="size2">
			可在个人中心查看会员卡
		</view>
		<view class="foot">
			<view class="btn1" @click="back">
				返回首页
			</view>
			<view class="btn2" @click="routeClass">
				查看会员卡
			</view>
		</view>
	</view>
</template>

<script>
	export default{
		data(){
			return{
				
			}
		},
		methods:{
			back(){
				uni.switchTab({
					url:'/pages/index/index'
				})
			},
			routeClass(){
				uni.redirectTo({
					url:'/pageB/user/order/index'
				})
			}
		}
	}
</script>

<style lang="scss" scoped>
	.body{
		display: flex;
		flex-direction: column;
		align-items: center;
		.img{
			margin-top: 102rpx;
			width: 172rpx;
			height: 172rpx;
		}
		.size1{
			margin-top: 32rpx;
			font-size: 34rpx;
			font-family: PingFang SC, PingFang SC-Bold;
			font-weight: 700;
			text-align: center;
			color: #73F0EA;
		}
		.size2{
			margin-top: 13.5rpx;
			font-size: 28rpx;
			font-family: PingFang SC, PingFang SC-Regular;
			font-weight: 400;
			text-align: center;
			color: #999999;
			letter-spacing: 0.62rpx;
		}
		
		.foot{
			margin-top: 85rpx;
			display: flex;
			flex-direction: row;
			justify-content: space-between;
			padding: 0 20rpx;
			width: 100%;
			.btn1{
				width: 346rpx;
				height: 88rpx;
				border: 1.5rpx solid #73F0EA;
				border-radius: 16rpx;
				font-size: 34rpx;
				font-family: PingFang SC, PingFang SC-Bold;
				font-weight: 700;
				color: #73F0EA;
				display: flex;
				align-items: center;
				justify-content: center;
			}
			
			.btn2{
				width: 346rpx;
				height: 88rpx;
				background: #73F0EA;
				border-radius: 16rpx;
				font-size: 34rpx;
				font-family: PingFang SC, PingFang SC-Bold;
				font-weight: 700;
				color: #ffffff;
				display: flex;
				align-items: center;
				justify-content: center;
			}
		}
	}
</style>